37. Solution Step III

Solution Step III

INSTRUCTOR NOTE:

When Dave goes over how to write the isLeapYear function, he introduces the modulo (%) operator. This returns the remainder of dividing the first argument by the second. For example: 10 % 5 is 0, and 10 % 7 is 3. For more information, follow this link.